WPForms\Integrations\Stripe\Api\PaymentIntents B

Total Complexity 93
Dependencies 14
Dependents 6
Total lines 897
Lines of code 405
Logical lines of code 212
Comment lines 304
Methods 28
Properties 4

Methods 28

Method Rating Maintainability Complexity Lines of code
charge_subscription()
A
42 10 52
get_charge_details()
A
53 9 24
charge_single()
A
46 8 37
bypass_captcha_on_3dsecure_submit()
A
54 8 20
set_payment_tokens()
S
62 6 11
refund_payment()
S
53 5 24
request_3dsecure_ajax()
S
59 4 15
cancel_subscription()
S
52 3 28
retrieve_mandate()
S
55 3 20
create_setup_intent()
S
57 3 17
get_country_specs()
S
57 3 17
get_charge()
S
60 3 15
retrieve_payment_intent()
S
59 3 14
process_single()
S
70 3 7
process_subscription()
S
70 3 7
set_config()
S
60 2 15
set_bypass_captcha_3dsecure_token()
S
66 2 8
load_card_field()
S
71 2 7
finalize_single()
S
65 2 8
finalize_subscription()
S
64 2 9
filter_config_element_locale()
S
73 2 4
set_card_element_config()
S
58 1 14
set_payment_element_config()
S
66 1 7
get_payment()
S
79 1 3
request_confirm_payment_ajax()
S
67 1 9
setup_stripe()
S
77 1 4
hooks()
S
78 1 3
init()
S
72 1 6